#ifndef BALLE_H
#define BALLE_H

#include "sphere.h"
#include "vector3d.h"
#include "macro.h"

class Balle : public Sphere
{
public:
    Balle();
//    ~Balle();
    void Render();
    void Update();
    void Transform();
    Vector3D* getCenter() { return center; }
    float getRayon() { return rayon; }
    void Rebond(TYPE_REBOND, Vector3D centreBarre = Vector3D());
    Vector3D* getDirection() { return &direction; }
    void setDirection(float x, float y, float z) {direction.x = x; direction.y = y; direction.z = z;}
protected:
    Vector3D* center;
    float rayon;
    Vector3D direction;
};

#endif // BALLE_H
